<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div style="margin-top: 20px">
<h2>JS与OC交互问题</h2>
<input type="button" value="调用OC方法(call)" onclick="YXRookie.call()">
</div>
<div>
<input type="button" value="调用JS方法getCall:(NSString *)callString传值" onclick="call()">
</div>
<script>
  
var call = function()
{
    var callInfo = JSON.stringify({"key": "http://www.jianshu.com/users/480a52903ce5/latest_articles"});
        YXRookie.getCall(callInfo);
}

var Callback = function(valStr)
{
    alert(valStr);
}
var alerCallback = function()
{
    alert('我是javaScript的方法');
}
</script>
</body>
</html>
